<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    // let hd = () => {
    //   return 1 + 2;
    // };
    // console.log(hd());
    // let hd = [1, 2, 3, 4, 5, 6].filter(function(value, index) {
    //   return value <= 3;
    // });
    // let hd = [1, 2, 3, 4, 5, 6].filter(value => {
    //   return value <= 3;
    // });
    // let hd = [1, 2, 3, 4, 5, 6].filter(value => value <= 3);
    // if (true) console.log("houdunren");
    let sum = [1, 2, 3, 4, 5, 6].reduce((a, b) => a + b);
    console.log(sum);
    //this
  </script>
</html>
